#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include<QTime>
#include<QTimer>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();


private slots:
    void on_pushButton_clicked();

    void on_setTimeBtn_clicked();

    void on_setDateBtn_clicked();

    void on_setTAndDBtn_clicked();

    void on_calendarWidget_selectionChanged();

    void on_eixtBtn_clicked();

    void slot_timer_timeout();

    void on_startBtn_clicked();

    void on_stopBtn_clicked();

    void on_setPeriodBtn_clicked();

private:
    Ui::MainWindow *ui;
    QTimer* fTimer;
    QTime fTimeCounter;
};
#endif // MAINWINDOW_H
